First, install the Sonarqube service end, in other Computer browser landing, start to install other programming language detection plug-ins
The system has installed language plug-ins:
Download the languages that are commonly used in software projects:Android,CSS,Web,XML
Java-Related:Checkstyle,Findbugs,PMD
Java Static Analysis tool profiling objects
Application Technology
Checkstyle
Java source files, defect pattern matching
Findbugs
Byte
-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/13/wKiom1gG7AnDT0TNAAFGj3TKGOs414.png "width=" 1077 "height=" 667 "/>Second, install the command line analysis sideSonar's command-line analysis software has two runner and scanner, the official document is written in scanner, but runner and its installation, use is basically the same.1. Install
When you use Sonar-scanner to scan your code, the error is as follows:
Error:error during Sonarqube Scanner executionJava.lang.IllegalStateException:Error when executing blame the for file ...... Java-----At Org.sonar.plugins.scm.svn.SvnBlameCommand.blame (svnblamecommand.java:102)At Org.sonar.plugins.scm.svn.SvnBlameCommand.blame (svnblamecommand.java:59)At O
Sonar Overview
Sonar is an open platform for code quality management. Through the plug-in mechanism, Sonar can integrate different test tools, code analysis tools, and continuous integration tools.
Unlike continuous integration tools such as Hudson/jenkins, Sonar does not simply display different code-checking tool r
sonar installation and configuration
Download sonarhttp://downloads.sonarsource.com/sonarqube/
Decompression Sonar Package for installation
Set SONAR environment variableSonar_home: "D:\sonarqube"PATH: "%sonar_home%\bin\windows-x86-64"
Start-up sonarCmd:startsonar
Log into SonarHttp://localhost:9000/
Check issue in
Sonar installation and code quality check instances and sonar code check instances
Note: sonar depends on the database.
Mysql Optimization
1. I am using the mysql database. I will first make simple Optimization Configuration for mysql.
[Root @ localhost bin] # cat/etc/my. cnf [mysqld] max_allowed_packet = 10 Mdatadir =/var/lib/mysqlsocket =/var/lib/mysql. sockuse
In the previous article we talked about the combination of sonar and MAVEN to achieve code quality review, but because MAVEN's learning cost is high, not any project is suitable, so this article we describe how to use the combination of sonar and ant for Code quality review.For now, the integration of sonar and ant is not as good as the integration of
First, the Environment configuration: 1, JDK Installation and configuration 2, MySQL database installation----directly call the server yard MySQL database, on this basis to create a new database sonar. The database configuration is as follows: 3, the sonar official website downloads the sonarqube version, chooses 5.6.3 version, the official website says is the long-term support, therefore chooses this versi
After the successful configuration of the Code Analysis page:You can see the complexity, syntax usage, repetition, and so on have been analyzed, specific to each method and each sentence of code.Four modes of use:Sonarqube + sonar-runnerSonarqube + mavensonarqube + eclipsesonarqube + IDE IntelliJMode of Use 1:Sonarqube + sonar-runner1. EnvironmentJDK 1.7Sonarqube 4.5.7 (the newest sonarqube all require jdk1
This article takes the CentOS operating system as an example to introduce sonar installation configuration, and how to integrate with Jenkins, through the PMD-CPD, Checkstyle, findbugs and other tools to conduct continuous review of the code.First, installation configuration sonar1, Sonar introductionSonar is an open source platform for code Quality management that manages the quality of Java source code. T
Use Sonar for code Quality Management
This article describes how to build and use the code Quality Management Platform Sonar. Sonar is an open-source platform for managing the quality of source code. You will see the process from Sonar installation to setup, and how to use the Maven plug-in the project for convenient c
Directory
1, Simple introduction principle
2, Sonar environment configuration
3, Sonar-runner Environment configuration
4, the integration of the implementation of the production of visual report 1, Introduction principle
I mentioned that my previous oclint was performed on several MAC slave configured by Jenkins, and the Oclint generated report was PMD format, which was parsed and demonstrated through Jen
Gradle 1.12 User Guide translation-Chapter 2. Sonar plug-in, gradlesonar
This article is translated by a CSDN blog blogger. For other chapters, see:
Http://blog.csdn.net/column/details/gradle-translation.html
Please pay attention to the address on Github for translation projects:
Https://github.com/msdx/gradledoc/tree/1.12.
To view the bilingual documents directly, visit:
Http://gradledoc.qiniudn.com/1.12/userguide/userguide.html.
In addition, Androi
Demo address: http://nemo.sonarsource.org/http://www.sonarsource.org/downloads/
I. Brief Introduction
PrefaceSonar is an open-source platform for managing JavaSource codeQuality. From sonar 1.6, sonar has changed from a quality data reporting toolCodeQuality management platform.
Main features
1) code coverage: the unit test will show the lines of code selected.
2) Improve coding rules
3) Search e
.
The Sonarqub e platform is comprised of 4 parts: SonarQube Server SonarQube Database SonarQube Plugins SonarQube Scanner SonarQube with Sonar Installation and configuration of Qube-scanner SonarQube
In the S Onarqub E official website, we can download the latest S Ona r installation package, this section with L Inu X system For example, build S Onarqub e platfo
Recently in learning Sonar, configured for several days, only to build up the environment, for their own learning ability feel ashamed, hurriedly in this record, so-called good memory than bad pen.1. Sonar IntroductionSonar is an open source platform for code Quality management that manages the quality of Java source code.Through the plug-in mechanism, Sonar can
Address: http://www.cnblogs.com/ericsun/archive/2011/09/19/2180827.html
I. Brief Introduction
PrefaceSonar is an open-source platform for managing the quality of Java source code. From sonar 1.6, sonar has changed from a quality data reporting tool to the current code quality management platform.
Main features
1) code coverage: the unit test will show the lines of code selected.
2) Improve coding rules
3)
Preface
Sonar related information is divided into 2 chapters, part of Sonar, part of Sonar runner, this study is sonar.
The sonar plugin relies on the Sonar runner plug-in, and the sonar
Preface
Sonar related information is divided into 2 chapters, part is Sonar, part is sonar runner, this study is sonar.
The sonar plug-in relies on the Sonar runner plug-in, and the sonar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.